<%@ page import="java.util.List" %>
<%@ page import="cn.ml.mybatisdemo.entity.Person" %><%--
  Created by IntelliJ IDEA.
  User: MaTengLong
  Date: 2021/7/25
  Time: 20:48
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<%
    List<Person> persons = (List<Person>) request.getAttribute("persons");
    for (Person person:persons){
        out.println(person+"<br>");
    }
%>
</body>
</html>
